package com.warm.micro.consumer.feign;

import com.warm.micro.common.vo.Resp;
import org.springframework.stereotype.Service;

/**
 * @Date: 2020/5/9 11:40
 * @Author: LChuang
 * @Description: ProviderHystrixApi 的降级处理类
 */
@Service
public class ProviderFallbackImpl implements ProviderFeignApi{

    @Override
    public Resp<String> hello(String msg) {
        return Resp.success("provider.hello() 服务降级类 -- 降级 : " + msg);
    }
}
